Skip to content

TaskObservableMethodBuilder.SetException(Exception) method

Defined in

Type: TaskObservableMethodBuilder Namespace: System.Runtime.CompilerServices Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

public void SetException(Exception exception)

Parameters

NameTypeDescription
exceptionException--